<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>treeview</title>
<%@ include file="/common/meta_dhtmlx.jsp"%>
<script>
var tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0);
tree.setSkin('csh_dhx_skyblue');
tree.setImagePath("${ctx}/js/dhtmlx/dhtmlxTree/codebase/imgs");
tree.enableDragAndDrop(0);
tree.enableTreeLines(false);
tree.setOnClickHandler(doOnClick);

function doOnClick(id){ 
    var url = tree.getUserData(id,"file");
    if(url != undefined){
    	parent.frameset1.location=url;
	}
}
	
tree.setStdImages("leaf.gif","folderOpen.gif","folderClosed.gif");
tree.loadXMLString("${xmlTree}");
</script>
</head>
<body bgcolor="#F4F5FF" style="margin: 5px;">
<div id="treeboxbox_tree"></div>
</body>
</html>